package com.zheng.study.company.entity;

import com.zheng.study.base.bean.BaseEnumManager;

import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import javax.persistence.MappedSuperclass;

/**
 * 流程基类
 * ============================================================================
 * createDate:  2018/5/23 。
 * ============================================================================
 */
@MappedSuperclass
public class FlowEntity extends CompanyEntity {
	private static final long serialVersionUID = 4709257215680934741L;

	/**
	 * 流程状态
	 */
	protected BaseEnumManager.ProcessState processState;

	@Enumerated(EnumType.STRING)
	public BaseEnumManager.ProcessState getProcessState() {
		return processState;
	}

	public void setProcessState(BaseEnumManager.ProcessState processState) {
		this.processState = processState;
	}
}
